using System;
using System.Collections.Generic; 
using System.Linq;  
using System.Text;   
using System.Data.Linq.Mapping;
using System.ComponentModel;

namespace MRSite.Entity  
{
    //产品规格项表
     [Table(Name = "product_spec_item")]
    public class ProductSpecItem : Entity
    { 
		/// <summary>
		///
		/// </summary>
		[Column(Name = "id", IsPrimaryKey = true, CanBeNull = false, IsVersion = true)]
		public override int id{ get; set; }

        /// <summary>
        /// 店铺id
        /// </summary>
        [Column(Name = "shopid"), DefaultValue(0)]
        public int shopid { get; set; }


		/// <summary>
		/// 规格ID
		/// </summary>
        [Column(Name = "specid")]
        public int specid { get; set; } 

		/// <summary>
		/// 规格值名称
		/// </summary>
        [Column(Name = "title")]
        public String title { get; set; } 

         	/// <summary>
		/// 缩略图
		/// </summary>
        [Column(Name = "thumb")]
        public String thumb { get; set; } 

         
         /// <summary>
		/// 是否显示
		/// </summary>
        [Column(Name = "show")]
        public int show { get; set; } 

       

          /// <summary>
        /// 排序 越小越靠前
		/// </summary> 
        [Column(Name = "displayorder")]
        public int displayorder { get; set; }

        /// <summary>
        ///  
        /// </summary>
        [Column(Name = "valueId")]
        public String valueId { get; set; } 

        ///// <summary>
        /////  
        ///// </summary>
        //[Column(Name = "propId")]
        //public String propId { get; set; }

          /// <summary>
		///  
		/// </summary>
        [Column(Name = "virtuals")]
        public int virtuals { get; set; } 
         

		/// <summary>
        /// 
		/// </summary>
        [Column(Name = "cycelbuy_periodic")]
        public String cycelbuy_periodic { get; set; }

      
	 } 
}    


